#TITLE=PHP math
#INFO
Cliptext Library for PHP programming written by nils@vita.gov.lv
#SORT=n
#T=Abs
^!=abs();

#T= CONVERT NUM BASE
^!= base_convert($num, $from, $to);
#T= BIN TO DEC
^!=bindec($binary);
#T= NEAREST INTEGER
^!= ceil($num)
#T= DEC TO BIN
^!= decbin($decimal);
#T= DEC TO OCT
^!= decoct($decimal);
#T= INTEGER SMALLER
^!= floor($dec);
#T= MAX NUM FOR RAND
^!= getrandmax();
#T= HEX TO DEC
^!= hexdec($hex);
#T= MAX OF ARG`S
^!= max($arg1, $argn);
#T= MIN OF ARG`S
^!= min($arg1, $argn);
#T= RANDOM NUM 
^!= mt_rand($min, $max);
#T= MAX FOR mt_rand
^!= mt_getrandmax();
#T=SET NUMBER FORMAT
^!= number_format($num, $dec, $decpoint, $thousans_sep);
#T= OCT TO DEC
^!= octdec($oct);
#T= PI
^!= pi();
#T= POW
^!= pow($base, $exp);
#T= RAD TO DEG
^!= rad2deg($radians);
#T= ROUND
^!= round($num);
#T= COMPARE <,>,==
^!=bccomp($a, $b, [int]);
#T= DEVIDE
^!=bcivd($a,$b [int]);
#T=Atlikums
^!=bcmod($a,$b);
#T=MULTIPLE a to b
^!=bcmul(a,b);
#T= X pow Y
^!= bcpow($num, $num, $scale);
#T= SET SCALE
^!= bcscale($scale);
#T= SQRT
^!= bcscrt($num, $scale);
#T= (A-B)
^!= bcsub($num, $num, $scale);
